<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="What Should I Do If the Oracle Environment Variable Registry Is Deleted?">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="en-us_topic_0000002164757014.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="">
  <meta name="DC.Publisher" content="20250306">
  <meta name="prodname" content="csbs">
  <meta name="documenttype" content="usermanual">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="EN-US_TOPIC_0000002164757034">
  <meta name="DC.Language" content="en-us">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>What Should I Do If the Oracle Environment Variable Registry Is Deleted?</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="EN-US_TOPIC_0000002164757034"></a><a name="EN-US_TOPIC_0000002164757034"></a>
  <h1 class="topictitle1">What Should I Do If the Oracle Environment Variable Registry Is Deleted?</h1>
  <div>
   <p>If the environment variable registry of the Oracle host is deleted by mistake, the host is displayed as offline on the management page, and database backup and restoration jobs fail.</p>
   <div class="section">
    <h4 class="sectiontitle">Procedure</h4>
    <ol>
     <li><span>Log in to the Oracle database host as the system administrator.</span></li>
     <li><span>Press <span class="uicontrol" id="EN-US_TOPIC_0000002164757034__en-us_topic_0000002164597290_uicontrol11819941114510"><b>Win+R</b></span> to open the <strong id="EN-US_TOPIC_0000002164757034__en-us_topic_0000002164597290_b1015191219408">Run</strong> window.</span></li>
     <li><span>Enter <span class="parmvalue"><b>regedit</b></span> to open the registry and check whether the Oracle registration content is correct. If the content is incorrect, correct it.</span><p></p>
      <div class="note">
       <img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span>
       <div class="notebody">
        <p>The value of <span class="parmname"><b>ORACLE_HOME</b></span> must be added to the value of the system variable <span class="parmname"><b>Path</b></span>. The value of <span class="parmname"><b>Path</b></span> is the value of <span class="parmname"><b>ORACLE_HOME</b></span> plus <span class="parmvalue"><b>bin</b></span>, which are separated by semicolons (;).</p>
        <p>Example:</p>
        <p>If the value of <strong>ORACLE_HOME</strong> is <strong>C:\app\oracle\product\12.1.0\dbhome_1</strong>, the value of the system variable <strong>Path</strong> must contain <strong>C:\app\oracle\product\12.1.0\dbhome_1\bin</strong>.</p>
       </div>
      </div> <p><span><img src="en-us_image_0000002164597494.png"></span></p> <p></p></li>
    </ol>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>Parent topic:</strong> <a href="en-us_topic_0000002164757014.html">FAQs</a>
    </div>
   </div>
  </div>
 </body>
</html>